package com.ourteam.product.model.dao;

/**
 * Template Name : DAO数据对象
 * Template Version : 1
 * Template Last Modfiy Date : Fri Aug 18 15:51:23 IRKT 2017
 * Auto Generate Date : 2017-11-17 11:00:50
  * Warning ! This file will be overwrite when regenerate !
  *
 */
import org.apache.commons.lang.StringUtils;


public class ProductModelProperty implements java.io.Serializable {
    private long id;

    /**
     * Attribute id Be Seted Falg
     */
    private boolean idSetted = false;

    /**
    * Attribute id is Null Falg
    */
    private boolean idNull = false;
    private long objectId;

    /**
     * Attribute objectId Be Seted Falg
     */
    private boolean objectIdSetted = false;

    /**
    * Attribute objectId is Null Falg
    */
    private boolean objectIdNull = false;
    private String propertyCode;

    /**
     * Attribute propertyCode Be Seted Falg
     */
    private boolean propertyCodeSetted = false;

    /**
    * Attribute propertyCode is Null Falg
    */
    private boolean propertyCodeNull = false;
    private String propertyName;

    /**
     * Attribute propertyName Be Seted Falg
     */
    private boolean propertyNameSetted = false;

    /**
    * Attribute propertyName is Null Falg
    */
    private boolean propertyNameNull = false;
    private long dataTypeId;

    /**
     * Attribute dataTypeId Be Seted Falg
     */
    private boolean dataTypeIdSetted = false;

    /**
    * Attribute dataTypeId is Null Falg
    */
    private boolean dataTypeIdNull = false;
    private int dataLength;

    /**
     * Attribute dataLength Be Seted Falg
     */
    private boolean dataLengthSetted = false;

    /**
    * Attribute dataLength is Null Falg
    */
    private boolean dataLengthNull = false;
    private int dataAccuracy;

    /**
     * Attribute dataAccuracy Be Seted Falg
     */
    private boolean dataAccuracySetted = false;

    /**
    * Attribute dataAccuracy is Null Falg
    */
    private boolean dataAccuracyNull = false;
    private String isArray;

    /**
     * Attribute isArray Be Seted Falg
     */
    private boolean isArraySetted = false;

    /**
    * Attribute isArray is Null Falg
    */
    private boolean isArrayNull = false;
    private String isAllowNull;

    /**
     * Attribute isAllowNull Be Seted Falg
     */
    private boolean isAllowNullSetted = false;

    /**
    * Attribute isAllowNull is Null Falg
    */
    private boolean isAllowNullNull = false;
    private String isPrimaryKey;

    /**
     * Attribute isPrimaryKey Be Seted Falg
     */
    private boolean isPrimaryKeySetted = false;

    /**
    * Attribute isPrimaryKey is Null Falg
    */
    private boolean isPrimaryKeyNull = false;
    private String isAutoInc;

    /**
     * Attribute isAutoInc Be Seted Falg
     */
    private boolean isAutoIncSetted = false;

    /**
    * Attribute isAutoInc is Null Falg
    */
    private boolean isAutoIncNull = false;
    private int sortIndex;

    /**
     * Attribute sortIndex Be Seted Falg
     */
    private boolean sortIndexSetted = false;

    /**
    * Attribute sortIndex is Null Falg
    */
    private boolean sortIndexNull = false;
    private String status;

    /**
     * Attribute status Be Seted Falg
     */
    private boolean statusSetted = false;

    /**
    * Attribute status is Null Falg
    */
    private boolean statusNull = false;
    private String remarks;

    /**
     * Attribute remarks Be Seted Falg
     */
    private boolean remarksSetted = false;

    /**
    * Attribute remarks is Null Falg
    */
    private boolean remarksNull = false;
    private String dataType;

    /**
     * Attribute dataType Be Seted Falg
     */
    private boolean dataTypeSetted = false;

    /**
    * Attribute dataType is Null Falg
    */
    private boolean dataTypeNull = false;
    private String defaultValue;

    /**
     * Attribute defaultValue Be Seted Falg
     */
    private boolean defaultValueSetted = false;

    /**
    * Attribute defaultValue is Null Falg
    */
    private boolean defaultValueNull = false;
    private String isUnique;

    /**
     * Attribute isUnique Be Seted Falg
     */
    private boolean isUniqueSetted = false;

    /**
    * Attribute isUnique is Null Falg
    */
    private boolean isUniqueNull = false;
    private long submitterId;

    /**
     * Attribute submitterId Be Seted Falg
     */
    private boolean submitterIdSetted = false;

    /**
    * Attribute submitterId is Null Falg
    */
    private boolean submitterIdNull = false;
    private String creatorName;

    /**
     * Attribute creatorName Be Seted Falg
     */
    private boolean creatorNameSetted = false;

    /**
    * Attribute creatorName is Null Falg
    */
    private boolean creatorNameNull = false;
    private java.util.Date createTime;

    /**
     * Attribute createTime Be Seted Falg
     */
    private boolean createTimeSetted = false;

    /**
    * Attribute createTime is Null Falg
    */
    private boolean createTimeNull = false;
    private String lastModifierName;

    /**
     * Attribute lastModifierName Be Seted Falg
     */
    private boolean lastModifierNameSetted = false;

    /**
    * Attribute lastModifierName is Null Falg
    */
    private boolean lastModifierNameNull = false;
    private java.util.Date lastModifyTime;

    /**
     * Attribute lastModifyTime Be Seted Falg
     */
    private boolean lastModifyTimeSetted = false;

    /**
    * Attribute lastModifyTime is Null Falg
    */
    private boolean lastModifyTimeNull = false;
    private String objectName;

    /**
     * Attribute objectName Be Seted Falg
     */
    private boolean objectNameSetted = false;

    /**
    * Attribute objectName is Null Falg
    */
    private boolean objectNameNull = false;
    private String objectCode;

    /**
     * Attribute objectCode Be Seted Falg
     */
    private boolean objectCodeSetted = false;

    /**
    * Attribute objectCode is Null Falg
    */
    private boolean objectCodeNull = false;
    private String objectType;

    /**
     * Attribute objectType Be Seted Falg
     */
    private boolean objectTypeSetted = false;

    /**
    * Attribute objectType is Null Falg
    */
    private boolean objectTypeNull = false;

    public ProductModelProperty() {
        super();
    }

    /**
         * Get id
         *
         * @return long
         */
    final public long getId() {
        return id;
    }

    /**
     * Set id
     *
     * @param long
     */
    final public void setId(long id) {
        this.id = id;

        this.idSetted = true;

        this.setIdNull(false);
    }

    /**
     * Get id Has Been Setted
     *
     * @return boolean
     */
    final public boolean isIdSetted() {
        return this.idSetted;
    }

    /**
     * Set id Null
     *
     */
    final public void setIdNull() {
        this.idNull = true;
    }

    final public void setIdNull(boolean aNullFlag) {
        this.idNull = aNullFlag;
    }

    final public boolean isIdNull() {
        return this.idNull;
    }

    /**
         * Get objectId
         *
         * @return long
         */
    final public long getObjectId() {
        return objectId;
    }

    /**
     * Set objectId
     *
     * @param long
     */
    final public void setObjectId(long objectId) {
        this.objectId = objectId;

        this.objectIdSetted = true;

        this.setObjectIdNull(false);
    }

    /**
     * Get objectId Has Been Setted
     *
     * @return boolean
     */
    final public boolean isObjectIdSetted() {
        return this.objectIdSetted;
    }

    /**
     * Set objectId Null
     *
     */
    final public void setObjectIdNull() {
        this.objectIdNull = true;
    }

    final public void setObjectIdNull(boolean aNullFlag) {
        this.objectIdNull = aNullFlag;
    }

    final public boolean isObjectIdNull() {
        return this.objectIdNull;
    }

    /**
         * Get propertyCode
         *
         * @return String
         */
    final public String getPropertyCode() {
        if (isPropertyCodeNull()) {
            return null;
        } else {
            return StringUtils.trim(propertyCode);
        }
    }

    /**
     * Set propertyCode
     *
     * @param String
     */
    final public void setPropertyCode(String propertyCode) {
        this.propertyCode = StringUtils.trim(propertyCode);

        this.propertyCodeSetted = true;

        this.setPropertyCodeNull(this.propertyCode == null);
    }

    /**
     * Get propertyCode Has Been Setted
     *
     * @return boolean
     */
    final public boolean isPropertyCodeSetted() {
        return this.propertyCodeSetted;
    }

    /**
     * Set propertyCode Null
     *
     */
    final public void setPropertyCodeNull() {
        this.propertyCodeNull = true;
    }

    final public void setPropertyCodeNull(boolean aNullFlag) {
        this.propertyCodeNull = aNullFlag;
    }

    final public boolean isPropertyCodeNull() {
        return this.propertyCodeNull;
    }

    /**
         * Get propertyName
         *
         * @return String
         */
    final public String getPropertyName() {
        if (isPropertyNameNull()) {
            return null;
        } else {
            return StringUtils.trim(propertyName);
        }
    }

    /**
     * Set propertyName
     *
     * @param String
     */
    final public void setPropertyName(String propertyName) {
        this.propertyName = StringUtils.trim(propertyName);

        this.propertyNameSetted = true;

        this.setPropertyNameNull(this.propertyName == null);
    }

    /**
     * Get propertyName Has Been Setted
     *
     * @return boolean
     */
    final public boolean isPropertyNameSetted() {
        return this.propertyNameSetted;
    }

    /**
     * Set propertyName Null
     *
     */
    final public void setPropertyNameNull() {
        this.propertyNameNull = true;
    }

    final public void setPropertyNameNull(boolean aNullFlag) {
        this.propertyNameNull = aNullFlag;
    }

    final public boolean isPropertyNameNull() {
        return this.propertyNameNull;
    }

    /**
         * Get dataTypeId
         *
         * @return long
         */
    final public long getDataTypeId() {
        return dataTypeId;
    }

    /**
     * Set dataTypeId
     *
     * @param long
     */
    final public void setDataTypeId(long dataTypeId) {
        this.dataTypeId = dataTypeId;

        this.dataTypeIdSetted = true;

        this.setDataTypeIdNull(false);
    }

    /**
     * Get dataTypeId Has Been Setted
     *
     * @return boolean
     */
    final public boolean isDataTypeIdSetted() {
        return this.dataTypeIdSetted;
    }

    /**
     * Set dataTypeId Null
     *
     */
    final public void setDataTypeIdNull() {
        this.dataTypeIdNull = true;
    }

    final public void setDataTypeIdNull(boolean aNullFlag) {
        this.dataTypeIdNull = aNullFlag;
    }

    final public boolean isDataTypeIdNull() {
        return this.dataTypeIdNull;
    }

    /**
         * Get dataLength
         *
         * @return int
         */
    final public int getDataLength() {
        return dataLength;
    }

    /**
     * Set dataLength
     *
     * @param int
     */
    final public void setDataLength(int dataLength) {
        this.dataLength = dataLength;

        this.dataLengthSetted = true;

        this.setDataLengthNull(false);
    }

    /**
     * Get dataLength Has Been Setted
     *
     * @return boolean
     */
    final public boolean isDataLengthSetted() {
        return this.dataLengthSetted;
    }

    /**
     * Set dataLength Null
     *
     */
    final public void setDataLengthNull() {
        this.dataLengthNull = true;
    }

    final public void setDataLengthNull(boolean aNullFlag) {
        this.dataLengthNull = aNullFlag;
    }

    final public boolean isDataLengthNull() {
        return this.dataLengthNull;
    }

    /**
         * Get dataAccuracy
         *
         * @return int
         */
    final public int getDataAccuracy() {
        return dataAccuracy;
    }

    /**
     * Set dataAccuracy
     *
     * @param int
     */
    final public void setDataAccuracy(int dataAccuracy) {
        this.dataAccuracy = dataAccuracy;

        this.dataAccuracySetted = true;

        this.setDataAccuracyNull(false);
    }

    /**
     * Get dataAccuracy Has Been Setted
     *
     * @return boolean
     */
    final public boolean isDataAccuracySetted() {
        return this.dataAccuracySetted;
    }

    /**
     * Set dataAccuracy Null
     *
     */
    final public void setDataAccuracyNull() {
        this.dataAccuracyNull = true;
    }

    final public void setDataAccuracyNull(boolean aNullFlag) {
        this.dataAccuracyNull = aNullFlag;
    }

    final public boolean isDataAccuracyNull() {
        return this.dataAccuracyNull;
    }

    /**
         * Get isArray
         *
         * @return String
         */
    final public String getIsArray() {
        if (isIsArrayNull()) {
            return null;
        } else {
            return StringUtils.trim(isArray);
        }
    }

    /**
     * Set isArray
     *
     * @param String
     */
    final public void setIsArray(String isArray) {
        this.isArray = StringUtils.trim(isArray);

        this.isArraySetted = true;

        this.setIsArrayNull(this.isArray == null);
    }

    /**
     * Get isArray Has Been Setted
     *
     * @return boolean
     */
    final public boolean isIsArraySetted() {
        return this.isArraySetted;
    }

    /**
     * Set isArray Null
     *
     */
    final public void setIsArrayNull() {
        this.isArrayNull = true;
    }

    final public void setIsArrayNull(boolean aNullFlag) {
        this.isArrayNull = aNullFlag;
    }

    final public boolean isIsArrayNull() {
        return this.isArrayNull;
    }

    /**
         * Get isAllowNull
         *
         * @return String
         */
    final public String getIsAllowNull() {
        if (isIsAllowNullNull()) {
            return null;
        } else {
            return StringUtils.trim(isAllowNull);
        }
    }

    /**
     * Set isAllowNull
     *
     * @param String
     */
    final public void setIsAllowNull(String isAllowNull) {
        this.isAllowNull = StringUtils.trim(isAllowNull);

        this.isAllowNullSetted = true;

        this.setIsAllowNullNull(this.isAllowNull == null);
    }

    /**
     * Get isAllowNull Has Been Setted
     *
     * @return boolean
     */
    final public boolean isIsAllowNullSetted() {
        return this.isAllowNullSetted;
    }

    /**
     * Set isAllowNull Null
     *
     */
    final public void setIsAllowNullNull() {
        this.isAllowNullNull = true;
    }

    final public void setIsAllowNullNull(boolean aNullFlag) {
        this.isAllowNullNull = aNullFlag;
    }

    final public boolean isIsAllowNullNull() {
        return this.isAllowNullNull;
    }

    /**
         * Get isPrimaryKey
         *
         * @return String
         */
    final public String getIsPrimaryKey() {
        if (isIsPrimaryKeyNull()) {
            return null;
        } else {
            return StringUtils.trim(isPrimaryKey);
        }
    }

    /**
     * Set isPrimaryKey
     *
     * @param String
     */
    final public void setIsPrimaryKey(String isPrimaryKey) {
        this.isPrimaryKey = StringUtils.trim(isPrimaryKey);

        this.isPrimaryKeySetted = true;

        this.setIsPrimaryKeyNull(this.isPrimaryKey == null);
    }

    /**
     * Get isPrimaryKey Has Been Setted
     *
     * @return boolean
     */
    final public boolean isIsPrimaryKeySetted() {
        return this.isPrimaryKeySetted;
    }

    /**
     * Set isPrimaryKey Null
     *
     */
    final public void setIsPrimaryKeyNull() {
        this.isPrimaryKeyNull = true;
    }

    final public void setIsPrimaryKeyNull(boolean aNullFlag) {
        this.isPrimaryKeyNull = aNullFlag;
    }

    final public boolean isIsPrimaryKeyNull() {
        return this.isPrimaryKeyNull;
    }

    /**
         * Get isAutoInc
         *
         * @return String
         */
    final public String getIsAutoInc() {
        if (isIsAutoIncNull()) {
            return null;
        } else {
            return StringUtils.trim(isAutoInc);
        }
    }

    /**
     * Set isAutoInc
     *
     * @param String
     */
    final public void setIsAutoInc(String isAutoInc) {
        this.isAutoInc = StringUtils.trim(isAutoInc);

        this.isAutoIncSetted = true;

        this.setIsAutoIncNull(this.isAutoInc == null);
    }

    /**
     * Get isAutoInc Has Been Setted
     *
     * @return boolean
     */
    final public boolean isIsAutoIncSetted() {
        return this.isAutoIncSetted;
    }

    /**
     * Set isAutoInc Null
     *
     */
    final public void setIsAutoIncNull() {
        this.isAutoIncNull = true;
    }

    final public void setIsAutoIncNull(boolean aNullFlag) {
        this.isAutoIncNull = aNullFlag;
    }

    final public boolean isIsAutoIncNull() {
        return this.isAutoIncNull;
    }

    /**
         * Get sortIndex
         *
         * @return int
         */
    final public int getSortIndex() {
        return sortIndex;
    }

    /**
     * Set sortIndex
     *
     * @param int
     */
    final public void setSortIndex(int sortIndex) {
        this.sortIndex = sortIndex;

        this.sortIndexSetted = true;

        this.setSortIndexNull(false);
    }

    /**
     * Get sortIndex Has Been Setted
     *
     * @return boolean
     */
    final public boolean isSortIndexSetted() {
        return this.sortIndexSetted;
    }

    /**
     * Set sortIndex Null
     *
     */
    final public void setSortIndexNull() {
        this.sortIndexNull = true;
    }

    final public void setSortIndexNull(boolean aNullFlag) {
        this.sortIndexNull = aNullFlag;
    }

    final public boolean isSortIndexNull() {
        return this.sortIndexNull;
    }

    /**
         * Get status
         *
         * @return String
         */
    final public String getStatus() {
        if (isStatusNull()) {
            return null;
        } else {
            return StringUtils.trim(status);
        }
    }

    /**
     * Set status
     *
     * @param String
     */
    final public void setStatus(String status) {
        this.status = StringUtils.trim(status);

        this.statusSetted = true;

        this.setStatusNull(this.status == null);
    }

    /**
     * Get status Has Been Setted
     *
     * @return boolean
     */
    final public boolean isStatusSetted() {
        return this.statusSetted;
    }

    /**
     * Set status Null
     *
     */
    final public void setStatusNull() {
        this.statusNull = true;
    }

    final public void setStatusNull(boolean aNullFlag) {
        this.statusNull = aNullFlag;
    }

    final public boolean isStatusNull() {
        return this.statusNull;
    }

    /**
         * Get remarks
         *
         * @return String
         */
    final public String getRemarks() {
        if (isRemarksNull()) {
            return null;
        } else {
            return StringUtils.trim(remarks);
        }
    }

    /**
     * Set remarks
     *
     * @param String
     */
    final public void setRemarks(String remarks) {
        this.remarks = StringUtils.trim(remarks);

        this.remarksSetted = true;

        this.setRemarksNull(this.remarks == null);
    }

    /**
     * Get remarks Has Been Setted
     *
     * @return boolean
     */
    final public boolean isRemarksSetted() {
        return this.remarksSetted;
    }

    /**
     * Set remarks Null
     *
     */
    final public void setRemarksNull() {
        this.remarksNull = true;
    }

    final public void setRemarksNull(boolean aNullFlag) {
        this.remarksNull = aNullFlag;
    }

    final public boolean isRemarksNull() {
        return this.remarksNull;
    }

    /**
         * Get dataType
         *
         * @return String
         */
    final public String getDataType() {
        if (isDataTypeNull()) {
            return null;
        } else {
            return StringUtils.trim(dataType);
        }
    }

    /**
     * Set dataType
     *
     * @param String
     */
    final public void setDataType(String dataType) {
        this.dataType = StringUtils.trim(dataType);

        this.dataTypeSetted = true;

        this.setDataTypeNull(this.dataType == null);
    }

    /**
     * Get dataType Has Been Setted
     *
     * @return boolean
     */
    final public boolean isDataTypeSetted() {
        return this.dataTypeSetted;
    }

    /**
     * Set dataType Null
     *
     */
    final public void setDataTypeNull() {
        this.dataTypeNull = true;
    }

    final public void setDataTypeNull(boolean aNullFlag) {
        this.dataTypeNull = aNullFlag;
    }

    final public boolean isDataTypeNull() {
        return this.dataTypeNull;
    }

    /**
         * Get defaultValue
         *
         * @return String
         */
    final public String getDefaultValue() {
        if (isDefaultValueNull()) {
            return null;
        } else {
            return StringUtils.trim(defaultValue);
        }
    }

    /**
     * Set defaultValue
     *
     * @param String
     */
    final public void setDefaultValue(String defaultValue) {
        this.defaultValue = StringUtils.trim(defaultValue);

        this.defaultValueSetted = true;

        this.setDefaultValueNull(this.defaultValue == null);
    }

    /**
     * Get defaultValue Has Been Setted
     *
     * @return boolean
     */
    final public boolean isDefaultValueSetted() {
        return this.defaultValueSetted;
    }

    /**
     * Set defaultValue Null
     *
     */
    final public void setDefaultValueNull() {
        this.defaultValueNull = true;
    }

    final public void setDefaultValueNull(boolean aNullFlag) {
        this.defaultValueNull = aNullFlag;
    }

    final public boolean isDefaultValueNull() {
        return this.defaultValueNull;
    }

    /**
         * Get isUnique
         *
         * @return String
         */
    final public String getIsUnique() {
        if (isIsUniqueNull()) {
            return null;
        } else {
            return StringUtils.trim(isUnique);
        }
    }

    /**
     * Set isUnique
     *
     * @param String
     */
    final public void setIsUnique(String isUnique) {
        this.isUnique = StringUtils.trim(isUnique);

        this.isUniqueSetted = true;

        this.setIsUniqueNull(this.isUnique == null);
    }

    /**
     * Get isUnique Has Been Setted
     *
     * @return boolean
     */
    final public boolean isIsUniqueSetted() {
        return this.isUniqueSetted;
    }

    /**
     * Set isUnique Null
     *
     */
    final public void setIsUniqueNull() {
        this.isUniqueNull = true;
    }

    final public void setIsUniqueNull(boolean aNullFlag) {
        this.isUniqueNull = aNullFlag;
    }

    final public boolean isIsUniqueNull() {
        return this.isUniqueNull;
    }

    /**
         * Get submitterId
         *
         * @return long
         */
    final public long getSubmitterId() {
        return submitterId;
    }

    /**
     * Set submitterId
     *
     * @param long
     */
    final public void setSubmitterId(long submitterId) {
        this.submitterId = submitterId;

        this.submitterIdSetted = true;

        this.setSubmitterIdNull(false);
    }

    /**
     * Get submitterId Has Been Setted
     *
     * @return boolean
     */
    final public boolean isSubmitterIdSetted() {
        return this.submitterIdSetted;
    }

    /**
     * Set submitterId Null
     *
     */
    final public void setSubmitterIdNull() {
        this.submitterIdNull = true;
    }

    final public void setSubmitterIdNull(boolean aNullFlag) {
        this.submitterIdNull = aNullFlag;
    }

    final public boolean isSubmitterIdNull() {
        return this.submitterIdNull;
    }

    /**
         * Get creatorName
         *
         * @return String
         */
    final public String getCreatorName() {
        if (isCreatorNameNull()) {
            return null;
        } else {
            return StringUtils.trim(creatorName);
        }
    }

    /**
     * Set creatorName
     *
     * @param String
     */
    final public void setCreatorName(String creatorName) {
        this.creatorName = StringUtils.trim(creatorName);

        this.creatorNameSetted = true;

        this.setCreatorNameNull(this.creatorName == null);
    }

    /**
     * Get creatorName Has Been Setted
     *
     * @return boolean
     */
    final public boolean isCreatorNameSetted() {
        return this.creatorNameSetted;
    }

    /**
     * Set creatorName Null
     *
     */
    final public void setCreatorNameNull() {
        this.creatorNameNull = true;
    }

    final public void setCreatorNameNull(boolean aNullFlag) {
        this.creatorNameNull = aNullFlag;
    }

    final public boolean isCreatorNameNull() {
        return this.creatorNameNull;
    }

    /**
         * Get createTime
         *
         * @return java.util.Date
         */
    final public java.util.Date getCreateTime() {
        return createTime;
    }

    /**
     * Set createTime
     *
     * @param java.util.Date
     */
    final public void setCreateTime(java.util.Date createTime) {
        this.createTime = createTime;

        this.createTimeSetted = true;

        this.setCreateTimeNull(this.createTime == null);
    }

    /**
     * Get createTime Has Been Setted
     *
     * @return boolean
     */
    final public boolean isCreateTimeSetted() {
        return this.createTimeSetted;
    }

    /**
     * Set createTime Null
     *
     */
    final public void setCreateTimeNull() {
        this.createTimeNull = true;
    }

    final public void setCreateTimeNull(boolean aNullFlag) {
        this.createTimeNull = aNullFlag;
    }

    final public boolean isCreateTimeNull() {
        return this.createTimeNull;
    }

    /**
         * Get lastModifierName
         *
         * @return String
         */
    final public String getLastModifierName() {
        if (isLastModifierNameNull()) {
            return null;
        } else {
            return StringUtils.trim(lastModifierName);
        }
    }

    /**
     * Set lastModifierName
     *
     * @param String
     */
    final public void setLastModifierName(String lastModifierName) {
        this.lastModifierName = StringUtils.trim(lastModifierName);

        this.lastModifierNameSetted = true;

        this.setLastModifierNameNull(this.lastModifierName == null);
    }

    /**
     * Get lastModifierName Has Been Setted
     *
     * @return boolean
     */
    final public boolean isLastModifierNameSetted() {
        return this.lastModifierNameSetted;
    }

    /**
     * Set lastModifierName Null
     *
     */
    final public void setLastModifierNameNull() {
        this.lastModifierNameNull = true;
    }

    final public void setLastModifierNameNull(boolean aNullFlag) {
        this.lastModifierNameNull = aNullFlag;
    }

    final public boolean isLastModifierNameNull() {
        return this.lastModifierNameNull;
    }

    /**
         * Get lastModifyTime
         *
         * @return java.util.Date
         */
    final public java.util.Date getLastModifyTime() {
        return lastModifyTime;
    }

    /**
     * Set lastModifyTime
     *
     * @param java.util.Date
     */
    final public void setLastModifyTime(java.util.Date lastModifyTime) {
        this.lastModifyTime = lastModifyTime;

        this.lastModifyTimeSetted = true;

        this.setLastModifyTimeNull(this.lastModifyTime == null);
    }

    /**
     * Get lastModifyTime Has Been Setted
     *
     * @return boolean
     */
    final public boolean isLastModifyTimeSetted() {
        return this.lastModifyTimeSetted;
    }

    /**
     * Set lastModifyTime Null
     *
     */
    final public void setLastModifyTimeNull() {
        this.lastModifyTimeNull = true;
    }

    final public void setLastModifyTimeNull(boolean aNullFlag) {
        this.lastModifyTimeNull = aNullFlag;
    }

    final public boolean isLastModifyTimeNull() {
        return this.lastModifyTimeNull;
    }

    /**
         * Get objectName
         *
         * @return String
         */
    final public String getObjectName() {
        if (isObjectNameNull()) {
            return null;
        } else {
            return StringUtils.trim(objectName);
        }
    }

    /**
     * Set objectName
     *
     * @param String
     */
    final public void setObjectName(String objectName) {
        this.objectName = StringUtils.trim(objectName);

        this.objectNameSetted = true;

        this.setObjectNameNull(this.objectName == null);
    }

    /**
     * Get objectName Has Been Setted
     *
     * @return boolean
     */
    final public boolean isObjectNameSetted() {
        return this.objectNameSetted;
    }

    /**
     * Set objectName Null
     *
     */
    final public void setObjectNameNull() {
        this.objectNameNull = true;
    }

    final public void setObjectNameNull(boolean aNullFlag) {
        this.objectNameNull = aNullFlag;
    }

    final public boolean isObjectNameNull() {
        return this.objectNameNull;
    }

    /**
         * Get objectCode
         *
         * @return String
         */
    final public String getObjectCode() {
        if (isObjectCodeNull()) {
            return null;
        } else {
            return StringUtils.trim(objectCode);
        }
    }

    /**
     * Set objectCode
     *
     * @param String
     */
    final public void setObjectCode(String objectCode) {
        this.objectCode = StringUtils.trim(objectCode);

        this.objectCodeSetted = true;

        this.setObjectCodeNull(this.objectCode == null);
    }

    /**
     * Get objectCode Has Been Setted
     *
     * @return boolean
     */
    final public boolean isObjectCodeSetted() {
        return this.objectCodeSetted;
    }

    /**
     * Set objectCode Null
     *
     */
    final public void setObjectCodeNull() {
        this.objectCodeNull = true;
    }

    final public void setObjectCodeNull(boolean aNullFlag) {
        this.objectCodeNull = aNullFlag;
    }

    final public boolean isObjectCodeNull() {
        return this.objectCodeNull;
    }

    /**
         * Get objectType
         *
         * @return String
         */
    final public String getObjectType() {
        if (isObjectTypeNull()) {
            return null;
        } else {
            return StringUtils.trim(objectType);
        }
    }

    /**
     * Set objectType
     *
     * @param String
     */
    final public void setObjectType(String objectType) {
        this.objectType = StringUtils.trim(objectType);

        this.objectTypeSetted = true;

        this.setObjectTypeNull(this.objectType == null);
    }

    /**
     * Get objectType Has Been Setted
     *
     * @return boolean
     */
    final public boolean isObjectTypeSetted() {
        return this.objectTypeSetted;
    }

    /**
     * Set objectType Null
     *
     */
    final public void setObjectTypeNull() {
        this.objectTypeNull = true;
    }

    final public void setObjectTypeNull(boolean aNullFlag) {
        this.objectTypeNull = aNullFlag;
    }

    final public boolean isObjectTypeNull() {
        return this.objectTypeNull;
    }

    public int hashCode() {
        final int prime = 31;
        int result = 1;

        result = (prime * result) + (int) (getId() ^ (getId() >>> 32));

        return result;
    }

    public boolean equals(Object obj) {
        if (obj == null) {
            return false;
        }

        if ((obj instanceof ProductModelProperty) == false) {
            return false;
        }

        ProductModelProperty other = (ProductModelProperty) obj;

        if (getId() != other.getId()) {
            return false;
        }

        return true;
    }

    public String toString() {
        StringBuffer buffer = new StringBuffer();

        buffer.append("[");

        buffer.append("id=");
        buffer.append(this.id);

        buffer.append("objectId=");
        buffer.append(this.objectId);

        buffer.append("propertyCode=");
        buffer.append(this.propertyCode);

        buffer.append("propertyName=");
        buffer.append(this.propertyName);

        buffer.append("dataTypeId=");
        buffer.append(this.dataTypeId);

        buffer.append("dataLength=");
        buffer.append(this.dataLength);

        buffer.append("dataAccuracy=");
        buffer.append(this.dataAccuracy);

        buffer.append("isArray=");
        buffer.append(this.isArray);

        buffer.append("isAllowNull=");
        buffer.append(this.isAllowNull);

        buffer.append("isPrimaryKey=");
        buffer.append(this.isPrimaryKey);

        buffer.append("isAutoInc=");
        buffer.append(this.isAutoInc);

        buffer.append("sortIndex=");
        buffer.append(this.sortIndex);

        buffer.append("status=");
        buffer.append(this.status);

        buffer.append("remarks=");
        buffer.append(this.remarks);

        buffer.append("objectName=");
        buffer.append(this.objectName);

        buffer.append("objectCode=");
        buffer.append(this.objectCode);

        buffer.append("objectType=");
        buffer.append(this.objectType);

        buffer.append("dataType=");
        buffer.append(this.dataType);

        buffer.append("defaultValue=");
        buffer.append(this.defaultValue);

        buffer.append("isUnique=");
        buffer.append(this.isUnique);

        buffer.append("submitterId=");
        buffer.append(this.submitterId);

        buffer.append("creatorName=");
        buffer.append(this.creatorName);

        buffer.append("createTime=");
        buffer.append(this.createTime);

        buffer.append("lastModifierName=");
        buffer.append(this.lastModifierName);

        buffer.append("lastModifyTime=");
        buffer.append(this.lastModifyTime);

        buffer.append("]");

        return buffer.toString();
    }
}
